import { Injectable } from '@angular/core';
import { HttpClientService } from 'app/services/http-client.service';

@Injectable()
export class MiViewOrEditService {

  constructor(public httpClient: HttpClientService) { }
  // 查询单个数据信息
	getInfo(nRid) {
		return this.httpClient.get('/pms/v1/readInfo/pmsReadInfo/'+nRid);
  }
  
  //修改信息
  updateInfo(putBody) {
		return this.httpClient.post('/pms/v1/readInfo/update', putBody);
  }
}
